/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
 
@import "./cell.css";
@import "./controls.css";
@import "./popover.css";
@import "./gutter.css";

@import "./github-markdown.css";

html, body {
    min-height: auto;
    height: auto;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

body {
    font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    color: #4a4a4a;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    margin: 6px;
}

.cells-container {
    background-color: #fdfdfd;
}

.starboard-notebook-footer * {
    color: #cecece;
    font-size: 11px;
    margin-left: 2px;
    margin-top: 8px;
    text-decoration: none;
}

.starboard-notebook-footer a:hover {
    text-decoration: underline;
}

.cm-gutters {
    background-color: #fdfdfd;
}

.cm-gutter-lineNumber {
    min-width: 24px;
}

.cm-wrap.cm-focused {
    outline: 1px solid #ccc !important;
}

.cm-activeLine {
    background-color: #33333308 !important;
}

.starboard-editor-picker-overlay {
    position: absolute;
    width: 80%;
    padding: 1rem;
    color: #222;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    display: none;
}

.starboard-editor-picker-overlay * {
    margin: 0;
}

.starboard-text-editor {
    position: relative;
    border: 1px solid #ddd;
    background-color: #fbfbfb;
    width: 100%;
    height: 100%;
    font-size: 14px;
    box-sizing: border-box;
}


:not(pre) > code[class*="language-"], pre[class*="language-"] {
    background-color: #f5f5f5 !important;
}

.starboard-text-editor pre[class*="language-"] {
    margin: 0 !important;
    min-height: 40px;
}

.monaco-editor {
    outline: 1px solid #eee;
    outline-offset: -1px;
    min-height: 40px;
}

.starboard-text-editor pre[class*="language-"] {
    padding: 0 1em;
}